<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>网址管理</title>
    <link
      href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"
      rel="stylesheet"
    />
    <link href="https://cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">


    <style>
      .form {
        display: flex;
        justify-content: flex-end;
      }
      .container{
        margin-top: 20px;
        background: white;
      }
      body{
        background: #efefef;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <h3>网址管理</h3>
      <hr />
      <!-- 新增网址的表单 -->
      <div class="form">
        <form class="form-inline">
          <div class="form-group">
            <label for="exampleInputName2">网站标题: </label>
            <input type="text" name="title" class="form-control" id="exampleInputName2" />
          </div>
          <div class="form-group">
            <label for="exampleInputEmail2">网址: </label>
            <input type="text" name="url" class="form-control" id="exampleInputEmail2" />
          </div>
          <div class="form-group">
            <label for="exampleInputEmail2">关键字:</label>
            <input type="text" name="keyword" class="form-control" id="exampleInputEmail2" />
          </div>
          <button id="addBtn" type="submit" class="btn btn-default">添加</button>
        </form>
      </div>
      <hr />
      <!-- 搜索表单 -->
      <div class="search row">
        <div class="col-lg-3 col-lg-offset-9">
          <div class="input-group">
            <input type="text" name="searchInput" class="form-control" placeholder="关键字" />
            <span class="input-group-btn">
              <button id="searchBtn" class="btn btn-default" type="button">搜索</button>
            </span>
          </div>
        </div>
      </div>
      <hr />

      <!-- 表格 -->
      <table class="table table-bordered">
        <thead>
          <tr>
            <th>ID</th>
            <th>网站名称</th>
            <th>网址</th>
            <th>关键字</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          
        </tbody>
      </table>
    </div>

    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.27.2/axios.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.js"></script>
    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
    <script src="./js/index.js"></script>
  </body>
</html>
